package com.hysf.ioc.pro5_ioc_import;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AppConfig_1_Test {
	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext(AppConfig_1.class);
		
		AppConfig_1 appConfig1 = context.getBean(AppConfig_1.class);
		System.out.println("appConfig1: " + appConfig1.getClass());
	}
}
